/*
 * Copyright (C) 2025 Tsingteng MicroSystem
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * @file nci_cfg.h
 * @brief NCI初始化配置参数头文件
 */

#ifndef _NCI_CFG_H_
#define _NCI_CFG_H_

#include "nci_feature.h"

#if IS_FEATURE_ON(NCI_FEATURE_RW)
#include "nfa_rw.h"
#endif /* IS_FEATURE_ON(NCI_FEATURE_RW) */
#if IS_FEATURE_ON(NCI_FEATURE_CE)
#include "nfa_ce.h"
#endif /* IS_FEATURE_ON(NCI_FEATURE_CE) */
#if IS_FEATURE_ON(NCI_FEATURE_VS)
#include "nfa_vs.h"
#endif /* IS_FEATURE_ON(NCI_FEATURE_VS) */

/** @brief NCI初始化的配置参数结构体 */
typedef struct {
    bool enable_dta_mode; // 是否使能DTA模式
#if IS_FEATURE_ON(NCI_FEATURE_RW)
    tNCI_RW_CBACK rw_cback; // RW模块回调函数
#endif /* IS_FEATURE_ON(NCI_FEATURE_RW) */
#if IS_FEATURE_ON(NCI_FEATURE_CE)
    tNCI_CE_CBACK ce_cback; // CE模块回调函数
#endif /* IS_FEATURE_ON(NCI_FEATURE_CE) */
#if IS_FEATURE_ON(NCI_FEATURE_VS)
    tNCI_VS_CBACK vs_cback; // VS模块回调函数
#endif /* IS_FEATURE_ON(NCI_FEATURE_VS) */
} tNCI_INIT_CFG;

#endif // _NCI_CFG_H_
